/*
 * Copyright (c) 2007 Compl Yue Still, All Rights Reserved.
 */

package oex.tasks;

import hbi.domain.Gateway;
import hbi.task.TaskAgent;
import oex.ObjectExplorer;
import oex.ObjectWorld;

public class RefreshShapes implements TaskAgent<ObjectWorld, ObjectExplorer>
{

    public void arrived(
        Gateway<? extends ObjectWorld, ? extends ObjectExplorer> gateway)
    {
    }

    public void finishTask(
        Gateway<? extends ObjectWorld, ? extends ObjectExplorer> gateway)
    {
        ObjectWorld world = gateway.getLocalDomain();
        world.pushAllShapes2(gateway);
    }

}
